package com.linkivr.util;
/**
 * 树节点
 * @author 
 */
public class CHANNEL_FIELD {
	int  itemid;
	public int getItemid() {
		return itemid;
	}


	public void setItemid(int itemid) {
		this.itemid = itemid;
	}


	private String itemname;
	private int itemlength;
	

	
	public CHANNEL_FIELD(String itemname,int itemlength){
		this.itemname = itemname;
		this.itemlength = itemlength;
		
	}
	
	
	//JSON形式显示该对象
	public String toString(){
		//return "{id:'"+id+"',text:'"+text+"',leaf:"+leaf+",url:'"+url+"',icon:'"+icon+"'}";
		return "{itemname:'"+itemname+"',itemlength:"+itemlength+"}";
	}


	public String getItemname() {
		return itemname;
	}


	public void setItemname(String itemname) {
		this.itemname = itemname;
	}


	public int getItemlength() {
		return itemlength;
	}


	public void setItemlength(int itemlength) {
		this.itemlength = itemlength;
	}



	
}
